import request from "@/utils/request";

//临时结算
export function provisionalSettlement(checkInMark, data) {
  console.log(data);
  return request({
    url: "/sinohis/pension/bill/settle/provisionalSettlement/"+checkInMark,
    method: "post",
    data
  });
}

//月份账单结算
export function settleOfMonthBill(data) {
  return request({
    url: "/sinohis/pension/bill/settle/settleOfMonthBill",
    method: "post",
    data
  });
}

//退住结算
export function settleOfRetreat(checkInMark, data) {
  return request({
    url: "/sinohis/pension/bill/settle/settleOfRetreat/"+checkInMark,
    method: "post",
    data
  });
}

//中途结算
export function settleOfHalfway(checkInMark, data) {
  return request({
    url: "/sinohis/pension/bill/settle/settleOfHalfway/"+checkInMark,
    method: "post",
    data
  });
}
